package com.longe.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.io.Serializable;

@Data
public class Proprietor implements Serializable {

    private static final long serialVersionUID = -259046984270097768L;

    @Excel(name = "主业主_major,副业主_absent", orderNum = "0", needMerge = true)
    private String name;

    @Excel(name="租用年限", orderNum = "1", needMerge = true)
    private Integer year;

    public Proprietor(String name, Integer year) {
        this.name = name;
        this.year = year;
    }
}
